package com.lzclass.pojo;


public class User {
    private int uid;
    private String username;
    private String password;
    private int hfcount;
    private int wzcount;
    private int plcount;
    private String nickname;
    private String headerimg;
    private String email;
    private String token;

    public User() {
    }

    public User(int uid, String username, String password, int hfcount, int wzcount, int plcount, String nickname, String headerimg, String email, String token) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.hfcount = hfcount;
        this.wzcount = wzcount;
        this.plcount = plcount;
        this.nickname = nickname;
        this.headerimg = headerimg;
        this.email = email;
        this.token = token;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getHfcount() {
        return hfcount;
    }

    public void setHfcount(int hfcount) {
        this.hfcount = hfcount;
    }

    public int getWzcount() {
        return wzcount;
    }

    public void setWzcount(int wzcount) {
        this.wzcount = wzcount;
    }

    public int getPlcount() {
        return plcount;
    }

    public void setPlcount(int plcount) {
        this.plcount = plcount;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHeaderimg() {
        return headerimg;
    }

    public void setHeaderimg(String headerimg) {
        this.headerimg = headerimg;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", hfcount=" + hfcount +
                ", wzcount=" + wzcount +
                ", plcount=" + plcount +
                ", nickname='" + nickname + '\'' +
                ", headerimg='" + headerimg + '\'' +
                ", email='" + email + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}
